//1.使用require导入要使用的模块里的变量或者函数，或者默认导出
import zip = require("./ZipCodeValidator");

//2.创建导出类的对象
let validator = new zip()

let strings = ["12345","12345","12345"];

strings.forEach(s=>{
    console.log(validator.isAcceptable(s)?"match":"not match");
})